<template>
	<view class="wrap">
		<u-lazy-load v-for="(item, index) in list" :key="index" :image="item.src"></u-lazy-load>
		<view class="btngroup">
			<view class="btns">
				<view class="item">
					<u-button @click="yjm" size="mini" type="primary" :ripple="true" ripple-bg-color="#2b6b39">有机查询码</u-button>
				</view>
				<view  class="item">
					<u-button @click="zhengshu" size="mini" type="primary" :ripple="true" ripple-bg-color="#2b6b39">有机证书</u-button>
				</view>
				<view class="item">
					<u-button @click="confirm" size="mini" type="primary" :ripple="true" ripple-bg-color="#2b6b39">专属客服热线</u-button>
				</view>
			</view>
		</view>

	</view>
</template>
<script>
	export default {
		data() {
			return {
				content:"确定拨打电话：400-6611-729吗？",
				
				show:false,
				list: [{
						src: "https://public-read-shengmu.oss-cn-beijing.aliyuncs.com/image/huanbao/hbz/01.jpg",
					},
					{
						src: "https://public-read-shengmu.oss-cn-beijing.aliyuncs.com/image/huanbao/hbz/02.jpg",
					},
					{
						src: "https://public-read-shengmu.oss-cn-beijing.aliyuncs.com/image/huanbao/hbz/03.jpg",
					},
					{
						src: "https://public-read-shengmu.oss-cn-beijing.aliyuncs.com/image/huanbao/hbz/04.jpg",
					},
					{
						src: "https://public-read-shengmu.oss-cn-beijing.aliyuncs.com/image/huanbao/hbz/05.jpg",
					}, {
						src: "https://public-read-shengmu.oss-cn-beijing.aliyuncs.com/image/huanbao/hbz/06.jpg",
					}, {
						src: "https://public-read-shengmu.oss-cn-beijing.aliyuncs.com/image/huanbao/hbz/07.jpg",
					}, {
						src: "https://public-read-shengmu.oss-cn-beijing.aliyuncs.com/image/huanbao/hbz/08.jpg",
					}, {
						src: "https://public-read-shengmu.oss-cn-beijing.aliyuncs.com/image/huanbao/hbz/09.jpg",
					}, {
						src: "https://public-read-shengmu.oss-cn-beijing.aliyuncs.com/image/huanbao/hbz/10.jpg",
					}, {
						src: "https://public-read-shengmu.oss-cn-beijing.aliyuncs.com/image/huanbao/hbz/11.jpg",
					}, {
						src: "https://public-read-shengmu.oss-cn-beijing.aliyuncs.com/image/huanbao/hbz/12.jpg",
					}
				]
			};
		},
		onLoad() {},
		methods: {
			yjm(){
				window.location.href="https://food.cnca.cn"
			},
			zhengshu(){
				uni.navigateTo({
					url:"/pages/sys/main/certificate"
				})
			},
			confirm(){
				uni.makePhoneCall({
					phoneNumber: '4006611729' //仅为示例
				});
			}
		}
	};
</script>
<style lang="scss" scoped>
	.wrap {
		background: #00563d;
		padding-bottom: 80px;
	}
	/deep/.u-size-medium{
		padding: 0  !important;
	}
.btngroup{
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #ededed;
	.btns {
		padding: 15px 15px 30px;
		
		// width: 100%;
	
		display: flex;
		align-items: center;
		justify-content: space-between;
	
		.item {
			width: 33.33%;
			button{
				width: 100%;
			}
	
			&:nth-child(2) {
				margin: 0 15px;
			}
		}
	}
	
}
	
</style>
